<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

</body>
<script>
    // Function.prototype.call = function (content, ...arg) {
    //     // 判断是否为基本包装类型
    //     const aTypeOf = typeof content;
    //     if (aTypeOf === "string" || aTypeOf === "nubmer" || aTypeOf === "boolean") {
    //         content = new Object(content);
    //     }else if(content === undefined || content === null){
    //         content = window;
    //     }
    //     const fnName = Math.random().toString(36).slice(2);
    //     Object.prototype[fnName] = this;// fn1.call
    //     const result = content[fnName](...arg);// content[fnName]()---->content-》fn2--->fn2["xxx"]()
    //     delete Object.prototype[fnName];
    //     return result;
    // }
    function fn1() {console.log(1);}
    function fn2() {console.log(2);}
    fn1.call(fn2);// 1
    fn1.call.call(fn2);// 2
</script>
</html>